#pragma once

#include "land_graphics.h"

extern int
landInitCanvasContext(LandGraphics* config, LandCanvasBackend* backend);

extern int
landInitDrawContext(LandGraphics* config, LandDrawBackend* backend);

extern int
landInitShaderContext(LandGraphics* config, LandShaderBackend* backend);

extern int
landInitStdContext(LandGraphics* config, LandStdBackend* backend);

extern void
landInitTextureContext(
    LandGraphics* config, LandTextureBackend* backend);

extern int
landInitVertexContext(LandGraphics* config, LandVertexBackend* backend);

extern int
landInitWindowContext(LandGraphics* config, LandWindowBackend* backend);

extern int
landExitWindowContext();

extern int
landInitFontContext(LandGraphics* config);

extern int
landExitFontContext(LandGraphics* config);